﻿@{
    Layout = null;    
}
<?xml version="1.0" encoding="utf-8" ?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
    @foreach (dynamic painting in ViewBag.Paintings)
    {
    <url>
        <loc>http://@ViewBag.Website.Domain/painting/detail/@painting.PaintingNumber-@painting.Title?catalog=print art</loc>
        <lastmod>@painting.UpdateDate.ToString("yyyy-MM-dd")</lastmod>
        <changefreq>monthly</changefreq>
    </url>   
    <url>
        <loc>http://@ViewBag.Website.Domain/painting/detail/@painting.PaintingNumber-@painting.Title?catalog=oil painting</loc>
        <lastmod>@painting.UpdateDate.ToString("yyyy-MM-dd")</lastmod>
        <changefreq>monthly</changefreq>
    </url> 
    }
</urlset>